package com.it.flowable.entity.leave;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 挂起流水表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ACT_FLW_GQ_RECORD_LEAVE")
public class ActFlwGqRecordLeaveVO implements Serializable {

    private static final long serialVersionUID = -3422362096208169184L;

    /**
     * 主键
     */
    @TableId(value = "C_ID", type = IdType.ASSIGN_UUID)
    @JsonProperty("cId")
    private String cId;

    @TableField("C_MAIN_ID")
    @JsonProperty("cMainId")
    private String cMainId;

    @TableField("C_TASK_NO")
    @JsonProperty("cTaskNo")
    private String cTaskNo;

    @TableField("C_NEW_FLG")
    @JsonProperty("cNewFlg")
    private String cNewFlg;

    @TableField("T_CRT_TM")
    @JsonProperty("tCrtTm")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date tCrtTm;

    @TableField("T_UPD_TM")
    @JsonProperty("tUpdTm")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date tUpdTm;

}
